//
//  GYCancelOrderAlertView.h
//  GYDemo
//
//  Created by mac on 2018/4/17.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kGYCancelOrderAlertViewHeight   260

@class GYCancelOrderAlertView;
@protocol GYCancelOrderAlertViewDelegate <NSObject>
@optional
- (void)cancelOrderView:(GYCancelOrderAlertView *)view reason:(NSString *)reason;
@end
typedef void(^GYCancelOrderAlertViewHandler)(NSString *result);
@interface GYCancelOrderAlertView : UIView
@property (nonatomic, assign) id <GYCancelOrderAlertViewDelegate> delegate;
@property (nonatomic, copy) GYCancelOrderAlertViewHandler callback;
- (void)setTitleData:(NSArray *)ary;
/**
 *  弹出
 */
- (void)pop;

/**
 *  消失
 */
- (void)dismiss;
@end
